package cn.hncj.lyc.service;

import java.util.List;
import java.util.Map;
import cn.hncj.lyc.bean.OrderDetail;
import cn.hncj.lyc.bean.OrderManagement;

/**
 * 订单管理的业务接口
 * @author Administrator
 *
 */
public interface OrderManagementService {
	
	
	public void add(OrderManagement om,List<OrderDetail> list) throws Exception;

	/**
	 * 前台查询订单信息
	 * @param om
	 * @return
	 */
	public List<Map> listOk(OrderManagement om);
	public List<Map> listNo(OrderManagement om);
	
	/**
	 * 后台查询订单信息
	 * @param om
	 * @return
	 */
	public List<OrderManagement> backOrderList();
	
	/**
	 * 查询订单详情
	 * @param od
	 * @return
	 */
	public List<Map> detailslist(OrderDetail od);

	
}
